<?php
	class durak_model extends CI_Model{
		function getDeck(){
			$this->db->select('value, name, suit, img');
			$this->db->from('deck');
			$this->db->where('value >', 4);
			
			$query = $this->db->get();
			return $query->result_array();
		}
	}
?>